import req from '@/utils/request';

//用户分析-用户统计
export const chartUserStatistics = (params) => req.post('/chart/userStatistics', params);

//用户分析-用户活跃
export const chartActiveUser = (params) => req.post('/chart/activeUser', params);

//用户分析-用户留存
export const chartRetainedByUsers = (params) => req.post('/chart/retainedByUsers', params);

//用户分析-在线详情
export const chartOnlinedetails = (params) => req.post('/chart/onlinedetails', params);




//流水分析-付费统计卡片
export const chartPaymentStatisticsCard = (params) => req.post('/chart/paymentStatisticsCard', params);

//流水分析-付费统计LTV
export const chartPaymentStatisticsLtv = (params) => req.post('/chart/paymentStatisticsLtv', params);

//流水分析-提现统计详情
export const chartWithdrawDetails = (params) => req.post('/chart/withdrawDetails', params);



//付费统计
export const chartRechargeLineChart = (params) => req.post('/chart/rechargeLineChart ', params);

//付费详情
export const chartRechargeDetail = (params) => req.post('/chart/rechargeDetail', params);

//提现详情
export const chartWithdrawDetail = (params) => req.post('/chart/withdrawDetail', params);

//提现统计
export const chartWithdrawLineChart = (params) => req.post('/chart/withdrawLineChart', params);



//通话数据折线图
export const chartCallData = (params) => req.post('/chart/callData', params);

//通话统计详情
export const chartCallStatistics = (params) => req.post('/chart/callStatistics', params);


//渠道分析-渠道增长
export const chartChannelGrowth = (params) => req.post('/chart/channelGrowth', params);

//渠道折线图
export const chartChannelAnalysis = (params) => req.post('/chart/channelAnalysis', params);

//渠道分析-性别统计
export const chartGenderAnalysis = (params) => req.post('/chart/genderAnalysis', params);

//事件统计-登录统计
export const chartLoginStatistics = (params) => req.post('/chart/loginStatistics', params);

//事件统计-匹配统计
export const chartMatchingStatistics = (params) => req.post('/chart/matchingStatistics', params);

//事件统计-预约统计
export const chartAppointmentStatistics = (params) => req.post('/chart/appointmentStatistics', params);

//货币分析
export const chartGoldCoinLine = (params) => req.post('/chart/goldCoinLine', params);


//埋点列表
export const buryingList = (params) => req.post('/burying/list', params);

//埋点编辑
export const buryingEdit = (params) => req.post('/burying/edit', params);

//添加埋点
export const buryingAdd = (params) => req.post('/burying/add', params);

//埋点导入
export const BuryingImport = params => req.post('/burying/import',params)

//渠道列表下拉框
export const channelList = (params) => req.post('/channel/list', params);

